package com.caval.dao;

import com.caval.bean.Warehouse;

import java.util.List;
import java.util.Map;

public interface WarehouseMapper {

    List<Warehouse> getWarehouse(int user_id);

    //判断游戏是否已存在于仓库
    int gameExist(Map<String,Object> map);

    //购买
    int doPurchase(Map<String,Object> map);

    //退款-从仓库中删除
    void delGame(Map<String,Object> map);

    int getInterval(Map<String,Object> map);
}
